<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<%include("/common/include.html"){}%>
		<style type="text/css">
			ul{
				height:auto;
				width:100%;
				padding:10px;
			}
			ul li{
				width:230px;
				display:inline-block;
			}
		</style>
	</head>
	<body class="easyui-layout">
	
		<div data-options="region:'center'" style="overflow-x:hidden;">
		<input  id="ids" name="_query.ids" type="hidden" value="${ids! }">
		<table class="easyui-datagrid" id ="vehicleDetail" style="width:100%;height:auto;"></table>
		</div>
		
		
		
		<script>
		
		
		function queryVehicle(){
			$('#vehicleDetail').datagrid({
				cls: "theme-datagrid",
				singleSelect: true,
				rownumbers: true, //显示序号
				fitColumns:true,
				pagination: false,
				url: "${cxt !}/vehicleQuery/busDetail",
				queryParams: {
					'ids': $("#ids").val(),
				},
			    method: 'post',
			    collapsible:true,
			    columns:[[
							{field:'ids',title:'ids',width:10,align:'center',hidden:true},
							{field:'hphm',title:'车牌号',width:10,align:'center'},
							{field:'clsbdh',title:'车辆识别代号',width:10,align:'center'},
							{field:'ccrq',title:'出厂日期',width:10,align:'center'},
							{field:'synx',title:'使用年限',width:10,align:'center'},
							{field:'ownername',title:'所有人',width:10,align:'center'},
							{field:'companyname',title:'公司名称',width:10,align:'center'}
							]]
			})
			
		}
		
		
		$(document).ready(function () {
			 queryVehicle();
		});
		
		
		
		
		</script>
	</body>
</html>
